package com.springcloud.dao;

import com.springcloud.pojo.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ProjectName: spring_cloud_demo
 * @Package: com.com.springcloud.dao
 * @ClassName: DeptDao
 * @Author: 郑涛
 * @Description:
 * @Date: 2020/10/12 20:31
 * @Version: 1.0
 */
@Mapper
@Repository
public interface DeptDao extends BaseMapper<Dept> {
    boolean addDept(Dept dept);

    List<Dept> QueryAll();
}
